﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="asp_mysql.login" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="Stylesheet" type="text/css" href="stilo.css"/>
     
    <style type="text/css">
        .style1
        {
            width: 264px;
        }
        .style3
        {
            width: 123px;
        }
        .style4
        {
            width: 167px;
        }
    </style>
     
</head>
<body>
    <form id="form1" runat="server">
    <div>
    

    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>

    
        <table align="center" style="width:100%;">
            <tr>
                <td rowspan="4" class="style1">
                
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        </asp:UpdatePanel>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
                <td class="style3">
                    Usuario</td>
                <td class="style4" align="center">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:DragPanelExtender ID="TextBox1_DragPanelExtender" runat="server" 
                        DragHandleID="TextBox1" Enabled="True" TargetControlID="TextBox1">
                    </asp:DragPanelExtender>
                    <asp:FilteredTextBoxExtender ID="TextBox1_FilteredTextBoxExtender" 
                        runat="server" Enabled="True" FilterInterval="20" FilterMode="InvalidChars" 
                        InvalidChars="[]()!&quot;#$%&amp;/?¡¿-.,}+´P|°" TargetControlID="TextBox1">
                    </asp:FilteredTextBoxExtender>
                </td>
                <td class="style3">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
                <td rowspan="4">
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style3">
                    Password</td>
                <td class="style4" align="center">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    <asp:FilteredTextBoxExtender ID="TextBox2_FilteredTextBoxExtender" 
                        runat="server" Enabled="True" FilterInterval="50" FilterMode="InvalidChars" 
                        InvalidChars="°!&quot;#$%&amp;/()=?¡¿°|}{+´-.[]" TargetControlID="TextBox2">
                    </asp:FilteredTextBoxExtender>
                </td>
                <td class="style3">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    Tipo</td>
                <td class="style4" align="center">
                    <asp:DropDownList ID="DropDownList1" runat="server" Height="16px" 
                        onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                        style="margin-left: 3px" Width="130px">
                        <asp:ListItem>SELECCIONAR</asp:ListItem>
                        <asp:ListItem>ADMINISTRADOR</asp:ListItem>
                        <asp:ListItem>PROFESOR</asp:ListItem>
                        <asp:ListItem>ALUMNO</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3" align="center">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Iniciar" 
                        Width="69px" />
                </td>
                <td class="style4" align="center">
                    <asp:Button ID="Button2" runat="server" Text="Cancelar" 
                        onclick="Button2_Click" />
                </td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
        </table>
    

    
    </div>
    </form>
</body>
</html>
